package com.hhkj.study.admin.resource.service.biz;

import com.hhkj.study.admin.resource.entity.ResourceCourseLive;
import com.hhkj.study.admin.resource.model.req.ResourceCourseLiveReq;
import com.hhkj.study.admin.resource.model.res.ResourceCourseLiveRes;
import com.hhkj.study.common.model.res.ExcelImportResultRes;
import com.ruoyi.common.base.biz.service.biz.BaseBizService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
* ResourceCourseLiveBizService
*
* @author SERVER
* @since 2024-09-06
*/
public interface ResourceCourseLiveBizService extends BaseBizService<ResourceCourseLive, ResourceCourseLiveReq, ResourceCourseLiveRes> {

    boolean updatePublishFlag(ResourceCourseLiveReq req);

    void export(ResourceCourseLiveReq req, HttpServletResponse response);

    ExcelImportResultRes importCourseLive(MultipartFile file, HttpServletRequest request);

    ExcelImportResultRes batchImportPlayBack(MultipartFile file, HttpServletRequest request);

    ResourceCourseLiveRes getLiveByVideoId(Long videoId);
}